package com.qf.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class Demo2Controller {
    @RestController
    public class Demo1SecurityController {

        @GetMapping("/hello")
        public String hello() {
            return "hello";
        }

        @GetMapping("/world")
        public String world() {
            return "world";
        }

        @GetMapping("/add")
        public String add() {
            return "add";
        }

        @GetMapping("/update")
        public String update() {
            return "update";
        }

        @GetMapping("/get")
        public String get() {
            return "get";
        }

        @GetMapping("/del")
        public String del() {
            return "del";
        }

        @GetMapping("/list")
        public String list() {
            return "list";
        }

        @GetMapping("/1.js")
        public String js() {
            return "1.js";
        }

        @GetMapping("/img")
        public String img() {
            return "img";
        }
    }
}
